﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Mobile.Master" Inherits="System.Web.Mvc.ViewPage<WebStickyNotes.Models.MobileTaskChangePersonModel>" %>
<%@ Import Namespace="WebStickyNotes.Resources" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<%= Labels.PleaseSelectAPerson %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <nav>
		<div class="splitleft">
			<%= Html.ActionLink(Labels.Home, "Index", "Mobile") %>
        </div>
		<div class="splitright">
			<%= Html.ActionLink(Labels.Up, "Task", "Mobile", new { id = Model.Task.Task.Id }, null)%>
        </div>
    </nav>
    <h2><%= Labels.PleaseSelectAPerson %></h2>
    <% foreach (var person in Model.People) {%>
    <% if (person.Id == Model.Task.Person.Id) {%>
		<p class="current">
    <% } else {%>
		<p>
	<% }%>
		<%= Html.ActionLink(person.FirstName + " " + person.LastName, "TaskSaveChangePerson", new { taskId = Model.Task.Task.Id, personId = person.Id }, null)%></p>
	<% }%>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">
</asp:Content>
